package com.sofa.shark.admin;

import com.alipay.sofa.rpc.common.RpcConfigs;
import com.alipay.sofa.rpc.hystrix.HystrixConstants;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/**
 * @author tonyp
 */
@SpringBootApplication
public class SharkUpmsBizApplication {


    public static void main(String[] args) {
        // 全局开启 hystrix 熔断服务
        RpcConfigs.putValue(HystrixConstants.SOFA_HYSTRIX_ENABLED, true);
        SpringApplication.run(SharkUpmsBizApplication.class, args);
    }


}
